﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using kp.compiler.contract;
using kp.koordinator.contract;
using kp.plotter.contract;

namespace kp.portal.tests
{
        public class MyKoordinator : IKoordinator
        {
            #region IKoordinator Members

            public IEnumerable<System.Drawing.PointF> Berechne(string formel, double xMin, double xMax, int werteanzahl)
            {
                throw new NotImplementedException();
            }

            #endregion


            public void ProcessBerechnungsauftrag(Berechnungsauftrag anfrage)
            {
                throw new NotImplementedException();
            }

            public event Action<CompilationRequest> OnCompilationRequest;
            public event Action<rechenwerk.contract.Berechnungsauftrag> OnBerechnungsauftrag;
        }


        public class MyPlotter : UserControl, IPlotter
        {
            public MyPlotter()
            {
                this.BackColor = Color.Red;
            }


            #region IPlotter Members

            public void ShowPlot(IEnumerable<System.Drawing.PointF> punkte)
            {
                throw new NotImplementedException();
            }

            public int Werteanzahl
            {
                get { throw new NotImplementedException(); }
            }

            #endregion

            public void ProcessShowPlotCommand(ShowPlotCommand command)
            {
                throw new NotImplementedException();
            }

            public void ProcessWerteanzahlAnfrage(WerteanzahlAnfrage anfrage)
            {
                throw new NotImplementedException();
            }
        }

   
}
